package com.itheima.service;

import com.itheima.pojo.NursingPage;
import com.itheima.pojo.NursingPageResult;
import com.itheima.pojo.NursingProject;

import java.util.List;

public interface NursingProjectService {
    //分页查询数据
    NursingPageResult page(NursingPage nusingPage);
    //新增数据
    void add(NursingProject np);
    //根据单个id进行删除数据
    void delete(List<Integer> ids);

    //修改数据第一步回显
    NursingProject getById(Integer id);
    //修改数据第二步删除操作
    void update(NursingProject np);
}
